<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="box"> hello div</div>
    <p id="p">hello tag p</p>
    <script>
        // new HTMLDivElement()
        // new HTMLParagraphElement()
        const box = document.getElementById('box');
        const p = document.getElementById('p');
        console.log(box.__proto__.constructor.name);
        console.log(p.__proto__.constructor.name);

    </script>
</body>

</html>